Skip to content

Education lists: Pedagogies cards first and balanced phone logo bands on Educators' Corner - #1267

Open
LukasWallrich wants to merge 6 commits into
rebrand-doorsfrom
hc/education-lists
Open

LukasWallrich wants to merge 6 commits into
rebrand-doorsfrom
hc/education-lists

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Educators visiting /pedagogies/ now see FORRT's four worked teaching examples immediately instead of three paragraphs of background prose and tiny thumbnails, while /educators-corner/ keeps headlines closer on phones without shrinking diagrams or cropping logos.

  • Pedagogies (/pedagogies/): leads at both widths with the four pedagogies in a two-column Education-tinted card grid, showing each course preview whole and legible, its subtitle, educator credit and plain underlined links to teaching materials (replacing outlined pills). About FORRT Pedagogies moves below beside a Share a pedagogy brick so neither pushes the examples off the first screen nor leaves an empty desktop column.
  • Educators' Corner (/educators-corner/): logo and emblem cards take a balanced 144 px band on phones so headlines surface sooner while emblems and covers remain legible; wide 16:9 teaching diagrams keep full phone height, desktop thumbnail slots align cleanly at 16:9, and screenshot contrast is preserved. All authors' copy is untouched.

Before and after

Refreshed on 24 November 2026: "before" is rebrand-doors at a5767a2601 (which now includes main), "after" is this branch with that base merged in. Each image is the first screen at that width, from a local build.

/pedagogies/, 1440 px, before /pedagogies/, 1440 px, after
pedagogies 1440 before pedagogies 1440 after
/pedagogies/, 390 px, before /pedagogies/, 390 px, after
pedagogies 390 before pedagogies 390 after
/educators-corner/, 1440 px, before /educators-corner/, 1440 px, after
educators-corner 1440 before educators-corner 1440 after
/educators-corner/, 390 px, before /educators-corner/, 390 px, after
educators-corner 390 before educators-corner 390 after

Decisions to review

  • Pedagogies standfirst on phones: currently shows the full two-sentence subtitle from content/pedagogies/_index.md intact. Moving the second sentence ("FORRT pedagogies are detailed examples...") down to About FORRT Pedagogies would bring the first card even higher on phones if you are happy editing that front-matter string.
  • ELD CAMA logo background: the ELD CAMA featured image has a pale off-white (#f5efea) background rather than pure white or transparency; replacing the source asset with a transparent WebP would let it blend seamlessly into the Education card tint without affecting screenshot cards.
  • Note on article_card.html: left untouched here because open PR Show logos whole in More news cards #1259 already addresses News cards at the end of posts crop logos (BTSCON) #1255.

Checks

  • hugo build succeeded cleanly (0 errors)
  • python3 scripts/rebrand/check_source_rules.py --base origin/main — 0 hard-coded URLs, 0 generated files touched
  • python3 scripts/check_seo_html.py — all 24 checks PASS
  • python3 scripts/rebrand/compare_builds.py against origin/rebrand-doors — 0 removed paths, 0 SEO tag changes

🤖 Generated with Gemini 4 Neon


Summary by cubic

Educators visiting /pedagogies/ now see FORRT's four worked teaching examples immediately, and /educators-corner/ brings headlines up sooner on phones without cropping logos.

  • /pedagogies/ now leads with the four pedagogies as two-column Education-tinted cards, each showing its course preview, educator credit, subtitle, and underlined links to teaching materials; outbound links carry an external-link icon and an "(another website)" label. The background prose moves below beside a Share a pedagogy invitation.
  • /educators-corner/ non-portrait logo and emblem cards take a compact 144 px band on phones so headlines surface sooner, while wide 16:9 teaching diagrams keep full height; desktop thumbnail slots align at 16:9.

Decisions to review

  • The Pedagogies standfirst currently shows the full two-sentence subtitle from content/pedagogies/_index.md intact; moving the second sentence to About FORRT Pedagogies would bring the first card higher on phones.
  • The ELD CAMA featured image has a pale off-white background; replacing it with a transparent WebP would let it blend into the Education card tint.

Written for commit 0a55e8a. Summary will update on new commits.

View guided diff Turn on auto-fix

…rner logo strips on phones

Give /pedagogies/ a dedicated Doors Education template that leads with the
four worked pedagogies as pale Education cards (full-width uncropped course
previews, subtitles, underlined materials links) and places the background
prose beside a Share a pedagogy brick below, while keeping Hugo's
/pedagogies/page/1/ redirect stub intact.

Refine /educators-corner/ card image handling so logos and emblems take a
compact 144 px band on phones (bringing headlines into view sooner while
keeping emblems and diagrams legible), wide 16:9 diagrams keep full phone
height, and desktop thumbnail baselines align.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
@LukasWallrich
LukasWallrich requested a review from a team as a code owner November 20, 2026 18:21

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread assets/css/doors/lists.css Resolved
Comment thread layouts/section/pedagogies.html Resolved
Comment thread layouts/section/pedagogies.html Resolved
LukasWallrich and others added 2 commits November 20, 2026 18:31
- Restore 0.93 luminance threshold for near-pure-white multiply blending.
- Gate .ec-thumb-logo strictly on .figures and aspect ratio >= 0.85 so news
  cards and portrait book/poster covers keep full phone height.
- Decode HTML-escaped query separators in Pedagogies material URLs via
  htmlUnescape.
- Add external-link icon and visually hidden (another website) label on
  outbound Pedagogies material links.

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Resolve conflict with #1259 (moved .ec-thumb-whole rules to article.css
and updated card_picture.html header comment).

Co-Authored-By: Gemini 4 Neon <noreply@google.com>
@github-actions

Copy link
Copy Markdown
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 3 files (changes from recent commits).

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread assets/css/doors/lists.css Resolved
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 2 changed file(s)! 🎉

LukasWallrich and others added 3 commits November 20, 2026 18:38
Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Gemini 4 Neon <noreply@google.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

👍 All content rules passed (WebP images/references and canonical doi.org links).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant